技術文章
技術問答
My Project
iT 徵才
聊天室
2026 鐵人賽
登入/註冊
文章
問答
Tag
邦友
鐵人賽
搜尋
2025 iThome 鐵人賽
DAY
4
0
自我挑戰組
「用 LeetCode 挑戰 30 天,打造扎實的程式邏輯力」- 結合Notion記錄學習筆記
系列 第
4
篇
<DAY4> - Valid Palindrome
17th鐵人賽
ingrid107
2025-09-18 13:19:37
215 瀏覽
分享至
題目介紹:
編號:125
類型:String, Two Pointers
難度:easy
題目連結:https://leetcode.com/problems/valid-palindrome/solutions/3165353/beats-96-9-well-explained-code-in-java/
描述:Given a string s , return true if it is a palindrome, or false otherwise.
解鎖成功圖片:
notion筆記截圖:
小小心得:
今天練習了 Java 的 Character 類別操作,特別是 isLetterOrDigit() 與 toLowerCase(),未來如果要寫字串處理類題目很實用
將雙指針法使用在字串上,更加熟悉了!
留言
追蹤
檢舉
上一篇
<DAY3> - Two Sum II - imput array is sorted
下一篇
<Day 5> Merge Sorted Array
系列文
「用 LeetCode 挑戰 30 天,打造扎實的程式邏輯力」- 結合Notion記錄學習筆記
共
30
篇
目錄
RSS系列文
訂閱系列文
0
人訂閱
26
<DAY26> -Climbing Stairs
27
<DAY27> - House Robber
28
<DAY28> - Majority Element
29
<DAY29> - Plus One
30
<DAY30> - 挑戰心得回顧
完整目錄
熱門推薦
{{ item.subject }}
{{ item.channelVendor }}
|
{{ item.webinarstarted }}
|
{{ formatDate(item.duration) }}
直播中
立即報名
尚未有邦友留言
立即登入留言
iThome鐵人賽
參賽組數
784
組
團體組數
32
組
累計文章數
7609
篇
最後報名日
9/15
看影片追技術
看更多
{{ item.subject }}
{{ item.channelVendor }}
|
{{ formatDate(item.duration) }}
直播中
熱門tag
15th鐵人賽
16th鐵人賽
13th鐵人賽
14th鐵人賽
17th鐵人賽
12th鐵人賽
11th鐵人賽
鐵人賽
2019鐵人賽
18th鐵人賽
javascript
2018鐵人賽
python
2017鐵人賽
windows
php
c#
linux
windows server
css
熱門問題
Excel近日COPY & PASTE出問題
請教codex桌面版無法讀取我NAS中的文件怎麼辦?
How should I design a multi-carrier eSIM provisioning and billing architecture?
熱門回答
How should I design a multi-carrier eSIM provisioning and billing architecture?
請教codex桌面版無法讀取我NAS中的文件怎麼辦?
Excel近日COPY & PASTE出問題
熱門文章
[AWS] 新手實作:零伺服器架構!5 分鐘用 Cloud Storage / S3 架設極低成本靜態網站
Day 27|雙 DGX Spark GB10 合體與分工合作的部署與實測
M 系列 Mac 安裝 Windows 11:完整教學 + 踩坑記錄
推薦免費課程-【職前訓練全額補助】網路規劃架設班02期
2026 年 Mac mini 與 Mac Studio 選購指南:本地 LLM 的統一記憶體、頻寬與 RAM 檔位
IT邦幫忙
×
標記使用者
輸入對方的帳號或暱稱
Loading
找不到結果。
標記
{{ result.label }}
{{ result.account }}